package com.example.dangdangbackend.DTO;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class UpdateBookDTO {
    private int bookId;
    private String IBSN;
    private String basicDirection;
    private String bookName;
    private String bookPackage;
    private int categoryId;
    private String contentIntroduction;
    private Double dangdangPrice;
    private String editorPromote;
    private String format;
    private String mediaRemark;
    private String orderEdition;
    private Double originPrice;
    private Integer pageNum;
    private String paper;
    private String picture;
    private String printNum;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime printTime;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime publishTime;
    private String publisher;
    private Integer stocks;
    private Integer wordNum;
    private String writer;
    private String writerIntroduction;
}
